package org.lx.nursing.job;

import lombok.extern.slf4j.Slf4j;
import org.lx.nursing.service.impl.ReservationServiceImpl;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component("reservationJob")
@Slf4j
public class ReservationJob {
    @Resource
    private ReservationServiceImpl reservationServiceImpl;

    public void updateReservationStatusJob() {
        reservationServiceImpl.updateReservationStatus();
    }
}
